package org.example.platform.design.qiaojie;

/**
 * 桥接模式
 */
public class Test {
    public static void main(String[] args) {

        phone p = new Mi();
        p.phone(new Email());
        p.run();
        p.phone(new Play());
        p.run();
        new Play().run();

    }
}
